<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Park</title>
<link rel="stylesheet" type="text/css" href="css/Style.css" />
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
</head>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
int isAdmin = 0;
String visitorName=null;
Cookie cookie= null;
Cookie[] cookies=request.getCookies();
if(cookies!=null){
	for(int i=0; i<cookies.length; i++){
		cookie=cookies[i];
		if(cookie.getName().compareTo("user")==0)
		visitorName=cookie.getValue();
	}
}
%>
<c:set var="userName" value="<%= visitorName%>"></c:set>

<body>

<header class="cabecera">

<div class="image">

	<img src="Images/Skyline.png" alt="My title image">

	

	<c:if test="${userName!=null}">
	<div class="login"> 
		<img src="Images/icon.png" alt="icono">
		<a href="infVisitor.htm"><c:out value="${userName}"></c:out></a> / <a href="index.htm">LogOut</a>
	</div>
	</c:if>
	<c:if test="${userName==null}">
	<div class="login"> 
 		<img src="Images/icon.png" alt="icono">
 		
 		<a href="login.htm">Login</a> / <a href="visitorRegister.htm">SignIn</a>
	</div>
	</c:if>
</div>

<!-- Menu -->
<nav class="nav"> 
	<ul class="menu">
		<c:if test="${userName!=null}">
		<li><a href="index2.htm"> Home</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="index.htm"> Home</a></li>
		</c:if>
		<li><a href="#"> North Town</a>
			<ul>
				<li><a href="museum.htm"> Museum</a></li>
				<li><a href="theater.htm"> Theater</a></li>
				<li><a href="stadium.htm"> Stadium</a></li>
				<li><a href="business.htm"> Business</a></li>
			</ul>
		</li>
		<li><a href="#"> South Town</a>
			<ul>
				<li><a href="park.htm"> Park</a></li>
				<li><a href="zoo.htm"> Zoo</a></li>
				<li><a href="attractions.htm"> Attractions</a></li>
				<li><a href="markets.htm"> Markets</a></li>
			</ul>
		</li>
		<c:if test="${userName!=null}">
		<li><a href="show_events.htm"> Events</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="login.htm"> Events</a></li>
		</c:if>
	</ul>
 </nav>


</header>

<div class="Container">
	<h2>Park</h2>
	<div class="text">
		<img src="Images/park.jpg" align="left"hspace="10" width="40%">
		<p> A park is an area of open space provided for recreational use. It 
		can be in its natural or semi-natural state, or planted, and is set 
		aside for human enjoyment or for the protection of wildlife or natural
		 habitats. It may consist of rocks, soil, water, flora and fauna and 
		 grass areas, but may also contain buildings and other artifacts such
		  as play grounds. Many natural parks are protected by law.</p>
	
		<p>The first parks were English deer parks, land set 
		aside for hunting by royalty and the aristocracy in medieval times. 
		They had walls or thick hedges around them to keep game in and people 
		out. </p>
		
		<p>These game preserves evolved into landscaped parks set around 
		mansions and country houses from the sixteenth century onwards. 
		These may have served as hunting grounds but they also proclaimed the 
		owner's wealth and status. An aesthetic of landscape design began in 
		these stately home parks where the natural landscape was enhanced by 
		landscape architects such as Capability Brown. As cities became 
		crowded, the private hunting grounds became places for the public </p>
		
		<p>With the Industrial revolution parks took on a new meaning as 
		areas set aside to preserve a sense of nature in the cities and towns.
		 Sporting activity came to be a major use for these urban parks. 
		 Areas of outstanding natural beauty were also set aside as national 
		 parks to prevent their being spoiled by uncontrolled development. 
		 Media related to Parks at Wikimedia Commons In some parks or time 
		 periods with high pollen counts, parks tend to be avoided</p>
	</div>
	

</div>

<footer> Copyright @ 2015 All rights reserved </footer>	

</body>
</html>